import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import vant from 'vant'
import 'vant/lib/index.css';
import App from './App.vue'
import router from './router'
import { isMobile } from "@/static/utils";

// 判断是否为移动端 以下代码为临时测试代码，用完即换。
if(!isMobile()) {
  window.location.href = 'http://124.221.249.230:9090/' // 跳转到PC端页面
}

const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(vant)
app.mount('#app')
